package com.gbco.intelligentpush.async.handler;

import com.gbco.intelligentpush.async.EventHandler;
import com.gbco.intelligentpush.async.EventModel;
import com.gbco.intelligentpush.async.EventType;
import org.springframework.stereotype.Service;

import java.util.Arrays;
import java.util.List;

@Service
public class FindCardHandler implements EventHandler {


    @Override
    public void deal(EventModel e) {
        System.out.println("平台找到卡片，正在努力寻找失主");
    }

    @Override
    public List<EventType> getSurpportEventType() {
        return Arrays.asList(EventType.FINDCARD);
    }
}
